import React, { Component } from 'react'
import { NavBar, Icon } from 'antd-mobile';
import './index.css';
class Index extends Component {

  render() {
    return (
      <div className="yg-product-detail">
        {/* 商品详情页导航开始 */}
        <NavBar
          className="yg-pd-nav"
          icon={<Icon type="left" />}
          onLeftClick={() => window.history.go(-1)}
        >商品详情</NavBar>
        {/* 搜索中心导航结束*/}
      </div>
    )
  }
}
export default Index;